<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.actions.relations.web.override">

  <require>org.nuxeo.ecm.platform.actions.relations.web</require>

  <extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action enabled="true" id="TAB_RELATIONS" label="action.view.relations" link="/incl/tabs/document_relations.xhtml" order="55" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter id="view_relations">
        <rule grant="true">
          <permission>Read</permission>
        </rule>
        <rule grant="false">
          <facet>Folderish</facet>
        </rule>
        <rule grant="false">
          <type>Server</type>
        </rule>
      </filter>
    </action>

  </extension>

</component>
